import Form from '../utils/class/Form';

function useForm<T = any>(attrs?: TFormProps<T>): Form<T> {
  return new Form<T>(attrs);
}

export default useForm;
